aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineEffectTests]/[method:canGenerateCodeForDefineEffect(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
diff options
context:
space:
mode:
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineEffectTests]/[method:canGenerateCodeForDefineEffect(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineEffectTests]/[method:canGenerateCodeForDefineEffect(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected18
1 files changed, 9 insertions, 9 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineEffectTests]/[method:canGenerateCodeForDefineEffect(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineEffectTests]/[method:canGenerateCodeForDefineEffect(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 401ed700..814be668 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineEffectTests]/[method:canGenerateCodeForDefineEffect(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineEffectTests]/[method:canGenerateCodeForDefineEffect(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -20,7 +20,7 @@ Compilation unit elements:
memory-load
(local "callFunctionPointer__0")
pointer=(local "closurePointer__1")
- layout=(struct (data-ptr (struct (function-ptr))))
+ layout=(struct ((struct (data-ptr int)) (struct (function-ptr))))
offset=(1 0)
)
(call-pointer (local "tmp__0") (local "callFunctionPointer__0") ((local "closurePointer__1") (local "local__fence")))
@@ -40,7 +40,7 @@ Compilation unit elements:
memory-load
(local "callFunctionPointer__0")
pointer=(local "closurePointer__1")
- layout=(struct (data-ptr (struct (function-ptr))))
+ layout=(struct ((struct (data-ptr int)) (struct (function-ptr))))
offset=(1 0)
)
(call-pointer (local "tmp__0") (local "callFunctionPointer__0") ((local "closurePointer__1") (local "local__arg0")))
@@ -59,12 +59,12 @@ Locals:
Instructions:
(
- (alloc-heap (local "userDefinedEffectPointer__State__0") (struct (data-ptr (struct (int int)))))
- (alloc-heap (local "closurePointer__read__0") (struct (data-ptr (struct (function-ptr (struct ()) (struct ()))))))
+ (alloc-heap (local "userDefinedEffectPointer__State__0") (struct ((struct (data-ptr int)) (struct (int int)))))
+ (alloc-heap (local "closurePointer__read__0") (struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct ()))))))
(
memory-store
pointer=(local "closurePointer__read__0")
- layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct ())))))
+ layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct ())))))
offset=(1 0)
value=(function-ptr "shed__function__read__0")
)
@@ -72,15 +72,15 @@ Instructions:
(
memory-store
pointer=(local "userDefinedEffectPointer__State__0")
- layout=(struct (data-ptr (struct (int int))))
+ layout=(struct ((struct (data-ptr int)) (struct (int int))))
offset=(1 0)
value=(local "userDefinedMethod__read__0")
)
- (alloc-heap (local "closurePointer__write__0") (struct (data-ptr (struct (function-ptr (struct ()) (struct ()))))))
+ (alloc-heap (local "closurePointer__write__0") (struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct ()))))))
(
memory-store
pointer=(local "closurePointer__write__0")
- layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct ())))))
+ layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct ())))))
offset=(1 0)
value=(function-ptr "shed__function__write__0")
)
@@ -88,7 +88,7 @@ Instructions:
(
memory-store
pointer=(local "userDefinedEffectPointer__State__0")
- layout=(struct (data-ptr (struct (int int))))
+ layout=(struct ((struct (data-ptr int)) (struct (int int))))
offset=(1 1)
value=(local "userDefinedMethod__write__0")
)